import network  from './request'
import apiList from './apiList';


export const createOrder = (data, params) => {
    return network.request({
        url: apiList.order.createOrder,
        data,
        ...params
    });
}

export const createOrderPay = (data, params) => {
    return network.request({
        url: apiList.order.createOrderPay,
        data,
        ...params
    });
}
